#ifndef QMLBOOK_H
#define QMLBOOK_H

#include "wiki.h"

#include <QMap>

class QmlBook : public  Wiki
{
public:
    QmlBook();

    // WikiEngine interface
public:
    QString name() override;
    QString prefix() override;

    WIKI_AUTOLOAD
    QStringList searching(const QString &text) override;

    WIKI_NO_CONTENT
    void content(const QString &text, QWebEngineView *view) override;

private:
    QMap<QString, QString> m_urls;
};

#endif // QMLBOOK_H
